cpupower: Bump soname version
authorBen Hutchings <ben@decadent.org.uk>
Sun, 19 May 2019 16:17:33 +0000 (17:17 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 13 Feb 2020 05:14:49 +0000 (05:14 +0000)
Several functions in the libcpupower API were renamed or removed in
Linux 4.7, and again in 5.1.  This is a backward-incompatible ABI
change, so the library soname should change from libcpupower.so.0 to
libcpupower.so.2.

Fixes: ac5a181d065d ("cpupower: Add cpuidle parts into library")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name cpupower-bump-soname-version.patch

tools/power/cpupower/Makefile

index c8622497ef2358c71d5d8992f4be3912e1e80d22..4a06d6b5d0058c79f9a823f5978910241ed44aea 100644 (file)
@@ -52,8 +52,8 @@ DESTDIR ?=
 # and _should_ modify the PACKAGE_BUGREPORT definition
 
 VERSION=                       $(shell ./utils/version-gen.sh)
-LIB_MAJ=                       0.0.1
-LIB_MIN=                       0
+LIB_MAJ=                       2.0.1
+LIB_MIN=                       2
 
 PACKAGE =                      cpupower
 PACKAGE_BUGREPORT =            linux-pm@vger.kernel.org